package com.kcwx.system.dtomap;

import org.mapstruct.*;
import com.kcwx.common.core.domain.entity.SysDictType;
import com.kcwx.shareddomain.system.dto.SysDictTypeEditDto;

/**
 * 字典类型 mapstruct
 *
 */
@Mapper(componentModel = "spring",unmappedSourcePolicy= ReportingPolicy.IGNORE,nullValuePropertyMappingStrategy = NullValuePropertyMappingStrategy.IGNORE)
public interface SysDictTypeMap {
    /** addDto to Entity*/
    @Mappings({@Mapping(target = "id", ignore = true)})
    SysDictType AddDtoToEntity(SysDictTypeEditDto addDto);
    /** editDto to Entity*/
    SysDictType EditDtoToEntity(SysDictTypeEditDto editDto);
}
